package com.qqtech.qquan.mall.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.qqtech.core.frame.service.BaseService;
import com.qqtech.qquan.mall.model.MallBrand;
import com.qqtech.qquan.mall.model.MallBrandVo;

public interface MallBrandService extends BaseService<MallBrand> {
	
	/**
	 * 后台查询列表
	 * @param query
	 * @param pageable
	 * @return
	 */
	public Page<MallBrandVo> queryPageListAdmin(MallBrand query, Pageable pageable);
	
	/**
	 * 获取categoryId的品牌
	 * @param categoryId
	 * @param status 状态,当status==null时,返回所有状态的
	 * @return
	 */
	public List<MallBrandVo> findByCategoryId(String categoryId, Integer status);
}